﻿using System.Collections.Generic;

namespace InhollandAir
{
    public class Customer
    {
        public const int KeyLength = 1000;
        public const int SessionExpireLength = 20;

        public readonly int Id;
        public readonly string Username;
        public IEnumerable<Address> Addresses;

        public Customer(int id, string username)
        {
            Id = id;
            Username = username;
        }

        public static Customer CreateCustomerWith(int id, string username)
        {
            return new Customer(id, username);
        }
    }
}